﻿//===============================================================================
//	COpenMissionDialog
//	打开任务对话框
//===============================================================================

#pragma once

#include "BaseMessage.h"
#include "MissionDialogue.h"


class COpenMissionDialog
	: public BaseMessage
{
public:
	COpenMissionDialog(uint32_t uid, uint32_t pn);
	~COpenMissionDialog();

public:
	//---------------------------------------------------------------------------
	static BaseMessage* Create(uint32_t uid, uint32_t pn)
	{ 
		return new COpenMissionDialog(uid, pn);
	}

public:
	//---------------------------------------------------------------------------
	virtual void HandleMessage(Player* pplayer) override final
	{}

public:
	//---------------------------------------------------------------------------
	void SetMissionDialogue(MissionDialogue*& stData);
};